continent_dict = {
    "Asia": ['Japan', 'India', 'Iran', 'China', 'Philippines', 'Malaysia',
             'South Korea', 'Thailand', 'Indonesia', 'Pakistan', 'Singapore'],
    "Europe": ['Slovakia', 'Denmark', 'UK', 'France', 'Greece', 'Portugal',
               'Sweden', 'Italy', 'Belgium', 'Germany'],
    "Africa": ['Tunisia', 'Nigeria'],
    "North America": ['USA', 'Canada', 'Mexico'],
    "South America":['Brazil'],
    "Australia": ['Australia']
}

country_dict = {}

for continent in continent_dict:
    for country in continent_dict[continent]:
        country_dict[country] = continent
    

print(country_dict)